Dropp\Shipping_Method\Shipping_Method S

Total Complexity 35
Dependencies 2
Dependents 0
Total lines 255
Lines of code 146
Logical lines of code 82
Comment lines 79
Methods 10
Properties 3

Methods 10

Method Rating Maintainability Complexity Lines of code
is_available()
A
51 11 23
validate_postcode()
A
51 8 25
evaluate_cost()
S
53 7 22
get_instance_form_fields()
S
56 3 19
get_additional_form_fields()
S
54 1 22
__construct()
S
61 1 13
init()
S
68 1 7
get_pricetype()
S
74 1 4
calculate_shipping()
S
73 1 5
sanitize_cost()
S
70 1 6